﻿package com.coo.navigation 
{
	public class NaviDO
	{
		private static var _instance: NaviDO;
		
		private var _defaultPath: String;
		
		private var _1Dps: int;
		private var _2Dps: int;
		private var _3Dps: int;
		
		public function NaviDO( enforcer: SingletonEnforcer ) {}
		
		public static function getInstance(): NaviDO
		{
			if ( NaviDO._instance == null ) NaviDO._instance = new NaviDO( new SingletonEnforcer());
			
			return NaviDO._instance;
		}
		
		public function get defaultPath(): String { return _defaultPath; }
		public function set defaultPath( value: String ): void { _defaultPath = value; }
		
		public function get m(): int { return _1Dps; }
		public function set m( value: int ): void { _1Dps = value; }
		
		public function get s(): int { return _2Dps; }
		public function set s( value: int ): void { _2Dps = value; }
		
		public function get t(): int { return _3Dps; }
		public function set t( value: int ): void { _3Dps = value; }
	}
}

class SingletonEnforcer {}